Skip to content

Add measured execution reports - #243

Draft
noise64 wants to merge 6 commits into
mainfrom
measured-report
Draft

noise64 wants to merge 6 commits into
mainfrom
measured-report

Conversation

@noise64

@noise64 noise64 commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor
  • partial reporting groundwork for GOL-1948, alongside GOL-1947; resolves neither broader delivery
  • capture selected API, installed-package and bundled-package executions as separate local evidence profiles, retaining expected inventories, every retry, phase logs, raw CTRF and checksummed inputs/component identities
  • derive Markdown only from normalized report.json; keep fail-then-pass results visible as pass/flaky: true, excluded from every “properly implemented” numerator but retained in the denominator. Coverage defaults to unclassified; behavior assertions require explicit, reviewer-audited case declarations
  • no runtime implementation, fixture assertion, classification or retry-policy changes; no full campaign, durable storage/uploader, publication page, release gate or Golem consumer/recovery qualification

Current draft: 2bd16860, based on fd433d50269e6dceb619b2dd49b093b26caf63d9.

Dávid authorized only the remaining unbuilt-artifact identity correction, its public regression and one bounded review round. Before publication, case identity now uses the planned artifact role, source fingerprint and component features, excluding lane/retry/execution identity. After publication, the actual component digest remains authoritative. This preserves incomplete inventories for distinct unbuilt roles/source/features while retaining rejection of duplicate published component/case keys; remaining identity limits are disclosed below.

Validation at 2bd16860:

  • the new public regression fails on unchanged 8327c8eb; all 21 producer/report Node contracts pass after the correction. Formatting and diff checks pass; no Rust changes
  • real public installed plan/plan/assemble/verify at this clean head retain candidate and baseline as two selected not-run cases: complete=false, attempts=0, qualified=0. This is discovery/assembly evidence, not guest execution
  • independent OpenAI GPT-6.1 Sol/high T-01a22318-3a71-70f3-8bd1-6ef1bc8df5aa: validated clear. Claude Opus 5.5/high T-01a22318-7775-744c-a619-007ae71824e0: validated changes_required with two P3 findings, no P0–P2. Both covered both changed files, with observed model/high-effort validation. These are read-only source reviews, not independent test executions
  • CI46168040336 completed successfully at exact 2bd16860988deef73528a3094ab1e59cfd9cc57c; publish/release jobs were skipped, and no publication, release or shipped qualification is claimed. Parent listener b95d1292-2a14-47df-a22b-75aa7a31cd96 ended normally; existing PR comment coverage remains. This result does not clear the two P3 findings or authorize source corrections, Ready or merge. No rerun of the earlier failure was requested or made

The bounded identity correction/review round is complete; source is frozen, with two remaining P3s and no completed clear self-review gate:

  • Mixed built/unbuilt executions of the same planned artifact use different identity forms and can inflate selected totals/denominators. Confirmed at exact 2bd16860 through public installed planning, one real guest run, assembly and verification: same role/source/features/profile/consumer/case across two lanes, selected=2, pass=1, not-run=1, qualified=1, complete=false. This does not claim two qualified passes or a complete bundle
  • Planned unbuilt identity omits the recorded toolchain, so different toolchain plans can collide before build. Source-reviewed; no genuine differing-toolchain execution was performed

Further source edits require a new owner circuit-breaker decision; no follow-up issue write, Ready or merge is authorized. Golem-review revalidation is not requested while this self-review gate remains unresolved.

Earlier 8327c8eb correction: Dávid authorized one bounded round for the two P2 reporting-integrity findings below. It rejects overlapping selected case keys across lanes, without choosing outcomes or discarding retained attempts. Installed planning/run refuses fixture files absent from retained inputs, including untracked/ignored helpers and local node_modules; all tracked copied files, including results.md, are retained. This changes producer validation, not runtime behavior, fixtures, classifications, retries or CI artifact selection.

Validation at 8327c8eb:

  • the two new public regressions failed on unchanged 5029a100; corrected producer/report Node contracts pass 20/20, and cargo fmt -- --check passes. This delta contains no Rust changes
  • controls preserve disjoint cases, distinct component/profile identities, whole-execution selection, unselected evidence and flaky exclusion. Installed tests reject an uncaptured nested helper at planning and before invocation; external build/runtime commands in these tests are controlled stubs
  • a fresh installed popular-pure-js CJS-utilities capture at exact clean 8327c8eb passed: 1 case/1 attempt/1 non-flaky declared behavior pass, complete bundle and verification. API and bundled captures below remain historical, not fresh captures at this head
  • independent OpenAI GPT-6.1 Sol/high delta review T-01a22187-852d-730b-b630-b007d78f5bae: validated clear. Claude Opus 5.5/high review T-01a22187-cd08-71fd-abfa-7d98c8d0baba: validated changes_required, one P2. Both covered all three changed files, with requested/observed model identity and high effort validated
  • CI46131754407 failed at exact 8327c8eb22a9c0ad18ece251d45a48a582f5024f; the only failing job was test-runtime (5), job140938348731. Install WASI SDK25 returned HTTP403, followed by gzip/tar failure. Runtime tests never started and no CTRF artifact was produced; collection also failed for absent reports. This is an observed setup-download failure, not a runtime assertion failure or green CI. No source repair or workflow rerun was made. Parent listener f666b754-da5d-4f34-b865-d8053db72e3e ended normally; a new head or authorized rerun needs fresh coverage. Previous-head green CI does not transfer

Prior P2 at 8327c8eb, addressed by the current correction candidate: before a component was published, the normalized case key used the same unbuilt placeholder for different artifact roles. Overlap rejection also rejected selected candidate/baseline incomplete inventories. Confirmed through two real public installed plan calls and assemble: both executions selected, neither run, assembly failed overlapping selected case key. This is discovery/assembly evidence, not guest execution. Dávid then authorized the narrowly bounded correction above; no golem-review revalidation or agreement is claimed yet.

Earlier narrow cleanup at 5029a100 made the supporting-input table private, pinned the documented cleanup command with --target-dir target, and made README/report wording consistently disclose reviewer responsibility for excluding import-only checks. That earlier delta had no execution, classification, qualification calculation or retry behavior changes.

Validation and focused self-review at 5029a100:

  • producer/report Node contract tests: 18 passed, 0 failed; cargo fmt -- --check and scoped node_compat/runtime Clippy with -Dwarnings passed
  • rendering both retained 26a81d85 real-evidence reports with old/new renderers changed only the audit-limit footnote; every count and case row remained identical. These are rendering checks, not new guest executions
  • focused self-review of 26a81d85..5029a100: clear; private parent-module data remains accessible to its measured child, the documented cleanup path matches the producer's explicit Cargo target directory, and all qualification descriptions agree. The prior two-model findings below are addressed; no new broad review round was run
  • CI46084445433 completed successfully at exact 5029a1000649569bd18b7b995efc0b4eecaa8ed0, including test-other, runtime and Node compatibility jobs. Publish/release jobs were skipped; no publication or release is claimed. No Ready or merge is authorized

Golem-review revalidation remains outstanding. Earlier saved pass nov28-243-5029-integrity-review at desk rev8 reported these two P2 concerns at 5029a100, addressed by the correction candidate but not claimed closed in the desk:

  • nov28-243-f1-selected-case-uniqueness: public assemble/verify accepts the same component/profile/case in two selected lanes and counts two qualified results despite one unique case key.
  • nov28-243-f2-installed-actual-inputs: tracked-only retention misses untracked helpers copied by installed preparation. A controlled public plan/run probe accepted post-plan helper drift; external commands were stubs, not a guest execution.

The reviewer verified all five retained bundles and ten execution manifests and independently passed published Node contracts 18/18 at 5029a100. The author's new public regressions reproduce the two defects before the correction and pass afterward; the reviewer's exact probe archive was unavailable from its disconnected executor and was not rerun. Last reported desk state was Agents working · Aligning, with no agreement, Ready or human approval. Green CI does not settle the findings. Source is now frozen at 2bd16860 for review.

Earlier execution validation at 26a81d85, not fresh guest captures at 5029a100:

  • node --test .github/scripts/test_prepare_test_reports.cjs tools/test_measured_report.cjs: 18 passed, 0 failed, including public plan/run checks for Rust-declared extra input roots, drift, selection rejection, output isolation, failed builds and successful-build/publication-failure evidence; formatting and scoped node_compat/runtime Clippy passed
  • cargo test --locked --test node_compat --features wasm-rquickjs/external-skeleton -- common::measured::tests::epoch_interrupt_retains_timeout: 1 passed, 0 failed; epoch interrupts remain timeout after error formatting, ordinary assertion errors remain fail
  • fresh path-basename API case, popular-pure-js installed CJS utilities, and bundled Ajv schema assertions: 3 selected cases/3 attempts/3 non-flaky passes, each explicitly declared behavior coverage; local bundle verified, JSON/Markdown reproduced identically, deliberate evidence corruption detected
  • additional real ESM JSON-cache API case: 1 case/1 attempt/1 non-flaky declared behavior pass, with the Rust-published guest-copy roots retained and bundle verified; Node control 22.14.0, API target 26.13.1, Wasmtime 50.0.1
  • historical validation at 76bef500: offline OpenAI SDK surface pass remained unclassified, 0/1 properly implemented; simultaneous bundled Ajv basic/reference executions passed 2/2 with distinct retained digests and fixture-specific results. These are not fresh captures at this correction

Each bundled execution uses an execution-specific Cargo library name before publishing its retained component copy, avoiding shared-output replacement without a producer-owned lock. Guest setup now owns and publishes supporting-input roots; the JS producer consumes those roots. Build status is retained separately from publication errors. The README documents manual generated-output reclamation and makes import-only audit limits explicit. Tool requirements remain profile-specific; Markdown exposes coverage and qualification.

Earlier-head CI46080549095 completed successfully at exact 26a81d8530819848d3f6a83ec129e8fc6649f819, including test-other, runtime and Node compatibility jobs. Publish/release jobs were skipped; no publication or release is claimed. Previous-head 76bef500 CI46055070567 failed in test-other, Invocation task attribution: with_post_return_drain_a_drain_before_return_call_drains_the_work_it_adopts_before_it_returns, tests/p3_invocation_tasks.rs:802; 11 other tests passed. CI recorded result:b approximately 301 ms before the adopted record:a:timer, violating drain-before-return ordering. The root cause remains unestablished; neither later-head CI success nor local passes establish a cause or justify classifying that failure as flaky or unrelated.

Frozen-source investigation at 76bef500: the invocation test, P3 build helper, generator, runtime, fixture and dependency manifests are byte-for-byte unchanged from base fd433d50. This test does not import tests/common, and the workflow change only adds Node reporting-contract tests to quick-checks. CI's synthetic merge tree matched that head's tree. With the CI's Rust 1.100.0 and Golem Wasmtime 9862a04802579abf2cfb712b8ed18e34c756e624, local head reproduction passed the exact case without the component cache (1/1) and the complete invocation-task harness with caching and two threads (12/12); an isolated base worktree passed the exact case (1/1) and the same complete cached harness (12/12). Resolved head/base fork lockfiles match. Base CI46017324831 also passed all 12 using the same Rust/fork revisions. These comparisons show no demonstrated delta regression path, not the cause of the CI failure. No runtime correction or workflow rerun was made.

Parent-owned exact-head CI listeners ended normally after their respective completions, including b2a24080-6498-4315-bc20-0a83b74b8739 for 5029a100 and f666b754-da5d-4f34-b865-d8053db72e3e for 8327c8eb. The existing PR comment listener remains the ongoing handoff. No duplicate watch was created.

Draft checkpoint, not ready. Both independent correction reviews on 76bef500..26a81d85 completed and were validated, with no P0–P2 findings and three P3 findings subsequently addressed by 5029a100:

  • OpenAI GPT-6.1 Sol/high, changes_required: keep the copy-root table private; pin the README cleanup command to the checkout's target directory rather than an inherited CARGO_TARGET_DIR
  • Claude Opus 5.5/high, changes_required: narrow the remaining unconditional import-only claim in the README and rendered report footnote, not only in the declaration instructions

Source is frozen at 2bd16860; no follow-up issues, golem-review agreement or owner Ready approval are claimed. The old disconnected Claude cleanup report's model/effort validation is unavailable and is not counted as a satisfied gate; the broader corrected range to 76bef500 and the correction to 26a81d85 have separate validated reviewer records.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant